package com.bupt.smart.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class JPushReceiver extends BroadcastReceiver {
    public JPushReceiver() {
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO: This method is called when the BroadcastReceiver is receiving
        // an Intent broadcast.
        String action = intent.getAction();//获取当前广播的action
        if (action.equals("cn.jpush.android.intent.NOTIFICATION_OPENED")) {

        }
    }
}
